#include "CTile.h"
#include "CTileManager.h"

CTile::CTile(int nTopX, int nTopY)
{
	m_fTopX = (float)nTopX; 
	m_fTopY = (float)nTopY;
}

void CTile::Init()
{

}

void CTile::Shutdown()
{

}

void CTile::Render()
{
	
}

RECT CTile::DrawRect()
{
	RECT tempRect;

	tempRect.left = (LONG)m_fTopX;
	tempRect.top = (LONG)m_fTopY;
	tempRect.right = tempRect.left + CTileManager::GetInstance()->TileWidth();
	tempRect.bottom = tempRect.top + CTileManager::GetInstance()->TileHeight();

	return tempRect;
}